func crypto/internal/fips140/ecdsa.bits2octets
5 uses
crypto/internal/fips140/ecdsa (current package)
cast.go#L57: drbg := newDRBG(sha512.New, k.d, bits2octets(P256(), hash), nil)
cast.go#L123: drbg := newDRBG(sha512.New, k.d, bits2octets(P256(), hash), nil)
ecdsa.go#L297: drbg := newDRBG(h, Z, nil, blockAlignedPersonalizationString{priv.d, bits2octets(c, hash)})
ecdsa.go#L313: drbg := newDRBG(h, priv.d, bits2octets(c, hash), nil) // RFC 6979, Section 3.3
ecdsa.go#L319: func bits2octets[P Point[P]](c *Curve[P], hash []byte) []byte {